import java.util.HashMap;
import java.util.List;


public class LetFun extends Fun {
	String varname;
	public LetFun(HashMap syms, String varname) {
		super(syms);
		this.varname = varname;
	}
	public Expr run(List args) {
		Expr value = (Expr)args.get(0);
		syms.put(varname, value);
		return value;
	}
}
